Repository navigation
32781 - Legal API: accept legal size court order PDFs - #4986
Merged
benjamin-bc-gov merged 1 commit intoNov 27, 2026
Merged
Conversation
This was referenced Nov 21, 2026
benjamin-bc-gov
marked this pull request as draft
November 22, 2026 00:22
benjamin-bc-gov
marked this pull request as ready for review
November 23, 2026 19:12
Collaborator
Author
|
UI previews for the two matching PRs are checked with a legal size file, screenshots on bcgov/business-ui#632 and bcgov/business-filings-ui#840. |
meawong
approved these changes
Nov 23, 2026
mruff-aeq
approved these changes
Nov 24, 2026
kialj876
approved these changes
Nov 25, 2026
benjamin-bc-gov
force-pushed
the
32781-court-order-legal-size-pdf
branch
from
November 27, 2026 16:27
8ebc124 to
6b86038
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Issue #: /bcgov/entity#32781
Description of changes:
courtOrder.fileKeyand each new entry incourtOrder.files) are no longer required to be letter size.validate_pdfis called withverify_paper_size=Falsefor them, so legal size court orders are accepted; the 30 MB limit, the encryption check and the readable-PDF check stay.Business and policy confirmed on #23893 that the page size restriction should go for court orders. The matching UI changes are bcgov/business-ui (Nuxt court order filing) and bcgov/business-filings-ui (legacy page); this API change needs to be deployed first, otherwise a legal size file is accepted by the UI and rejected at submission.
Related PRs (same ticket): bcgov/business-ui#632 (new court order filing), bcgov/business-filings-ui#840 (legacy page for co-ops and firms). This API change deploys first.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).